<?php
$this->title = Yii::t('app', 'editor');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'samples'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<!--BEGIN HEADER-->
<div class="section-header">
    <h3 class="text-standard"><i class="fa fa-fw fa-arrow-circle-right text-gray-light"></i> <?=$this->title?> <small><?=$this->subTitle?></small></h3>
</div>
<!--END HEADER-->
<!--BEGIN BODY-->
<div class="section-body">
    <?php \eric\widgets\Box::begin();?>
<pre><?php
    var_dump($_REQUEST);
    var_dump($_FILES);
    ?>
</pre>
    <?php \eric\widgets\Box::end();?>
    <?php
    \yii\widgets\ActiveForm::begin();
    echo \eric\widgets\editor\Editor::widget([
        'name' => 'ckEditor',
        'value' => $value,
    ]);
    echo \yii\helpers\Html::submitButton();
    \yii\widgets\ActiveForm::end();
    ?>
    <div>
        <?php \eric\widgets\Box::begin();
            echo $content;
            \eric\widgets\Box::end();
        ?>
    </div>
</div>
<!--END BODY-->